﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using prjCompras;

namespace sltnLogin
{
    public partial class frmCompras : frmMenuCompras
    {
        public frmCompras()
        {
            InitializeComponent();
        }

        public override void frmMenuCompras_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (MessageBox.Show("Deseja sair?", "Saindo", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.No)
            {
                e.Cancel = true;
            }
            base.frmMenuCompras_FormClosing(sender, e);
        }
    }
}
